package hsl.haxe.bond;
import hsl.haxe.Subject;

class NiladicBond<Datatype> implements Bond<Datatype> {
	private var listener:Void -> Dynamic;
	public function new(listener:Void -> Dynamic):Void {
		this.listener = listener;
	}
	public function callListener(data:Datatype, currentTarget:Subject):Void {
		listener();
	}
}
